import {v4} from 'uuid'
// 创建 一个用户临时Id 确保唯一，且不能随意更改
export function createUserTempId(){
    let userTempId = localStorage.getItem('userTempId')
    if(!userTempId){
        userTempId = v4()
        localStorage.setItem('userTempId',userTempId)
    }
    return userTempId
}
